Creating your library using the vendor block
This section gives a condensed version of the steps only. See "Creating custom library with user blocks" for details on how to create a custom library.
-
Create your custom library.
Within the library configuration, specify the vendor block after the statementIEC :=
Example for library configuration
LIBRARY com.oem1.lib1
VERSION := 1.1.0;
PACKAGETYPE := zip;
FOLDER "OEM-Library"
IEC := com.oem1.lib1.TestVendor01;
END_FOLDER
END_LIBRARY
You do not have to specify the C- and H-file within the library configuration. They will automatically be integrated into the generated library.
-
Generate the library based on the library configuration.
-
Deploy the generated library.